package cn.achao.csr.task.service.imp;

import cn.achao.csr.task.service.SimpleXxlJobService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * xxl-job GLUE模式
 * @Author: achao
 **/
@Slf4j
@Service
public class SimpleXxlJobServiceImpl implements SimpleXxlJobService {

    @Override
    public void helloA() {
        log.info("通过Xxl-job调用了A方法");
    }

    @Override
    public void helloB() {
        log.info("通过Xxl-job调用了B方法");
    }
}
